<style>
.chon{
background: none repeat scroll 0 0 #fff !important;
}
</style>
<ul id="menu">
	<li>
		<?php echo $this->Html->link("trang chủ",array('controller'=>'pages','action'=>'home'),array('id'=>'hm','title'=>'Trang chủ'));?>
	</li>
	<li>
		<?php echo $this->Html->link("quản lý phòng",array('controller'=>'rooms','action'=>'index'),array('id'=>'mr','title'=>'Quản lý phòng'));?>
    </li>
	<li>
		<?php echo $this->Html->link("nhân viên",array('controller'=>'users','action'=>'index'),array('id'=>'mb','title'=>"Quản lý nhân viên"));?>
	</li>
	<li><a href="javascript:Tab.open('result');" title="Thống kê" id="st">thống kê</a></li>
	<li>
		<?php echo $this->Html->link("thông tin",array('controller'=>'services','action'=>'index'),array('id'=>'mb','title'=>"Quản lý dịch vụ"));?>
	</li>
</ul>

<div class="wrapp-sub-mn">
    <ul class="sub-menu hm">
		
	</ul>	
    <ul <?php if($this->request->params['controller']!="rooms"){?>class="sub-menu hidden mr"<?php }else{?>class="sub-menu mr"<?php }?>>
        <li>
            <a href="<?php echo $this->webroot;?>rooms/index" class="active-smenu" id="stab-21">Thông tin phòng</a>
        </li>
        <li><a href="<?php echo $this->webroot;?>rooms/price" class="active-smenu" id="stab-21">Cài đặt giá</a></li>
        <li><a href="<?php echo $this->webroot;?>rooms/setup_price" class="active-smenu" id="stab-21">Cài đặt giá</a></li>
    </ul>
    <ul <?php if($this->request->params['controller']=="users"||$this->request->params['controller']=="groups"){?>class="sub-menu  mb"<?php }else{?>class="sub-menu hidden mb"<?php }?>>
        <li>
            <?php echo $this->Html->link("Quản lý nhóm nhân viên",array('controller'=>'groups','action'=>'index'));?>
        </li>
        <li><?php echo $this->Html->link("Quản lý nhân viên",array('controller'=>'users','action'=>'index'));?></li>
        <li><?php echo $this->Html->link("Mức lương",array('controller'=>'users','action'=>'salary'));?></li>
    </ul>
    <ul class="sub-menu hidden st">
        <li>
            <a href="doanhthu.php" class="active-smenu" id="stab-21">Doanh thu</a>
        </li>
        <li><a href="#" id="stab-22">Dịch vụ & kho</a></li>
        <li><a href="#" id="stab-23">Tổng chi</a></li>
        <li><a href="#" id="stab-23">Danh sách hóa đơn</a></li>
        <li><a href="#" id="stab-23">Hiện trạng phòng</a></li>
    </ul>
    <ul <?php if($this->request->params['controller']=="news" ||$this->request->params['controller']=="services"){?>class="sub-menu if"<?php }else{?>class="sub-menu hidden if"<?php }?>>        
        <li><?php echo $this->Html->link("Dịch vụ",array('controller'=>'services','action'=>'index'));?></li>
        <li><?php echo $this->Html->link("Trợ giúp",array('controller'=>'news','action'=>'index'));?></li>
    </ul>
</div>
